#!/usr/bin/env python


import shutil, os, filecmp, sys



virtualroot = os.path.join(os.getenv('HOME'), 'VIRTUALROOT')

class Backup(object):
    def __init__(self):
        pass

if __name__ == '__main__':
    try:
        import argparse
    except Exception, e:
        sys.err.write('no arg parse module')
        sys.exit(1) 
    parser = argparse.ArgumentParser(description='Policy conforming backup.')
    parser.add_argument('Var', help='mandatory arg without dash')
    parser.add_argument('-p', help='optional with dash (-)')
    args = parser.parse_args()
    try:
        os.mkdir(virtualroot)
    except Exception, e:
        sys.stderr.write('virtualroot already created')
    
